define [
  'lib/dao'
  'lib/dao_factory'
  ], (Dao, DaoFactory) ->

  'use strict'

  class UserDao extends Dao
    controllerURL     : 'usuario/'

    verificarUsuarioLogado           :                               -> @fetchRaw 'GET'  , @controllerURL + 'logado'
    recuperarPorEmail                : (email)                       -> @fetchRaw 'GET'  , @controllerURL + '/email'                 , null, {email}

  DaoFactory.register 'user_dao', UserDao

  UserDao